package com.lej.dataservice.club.bean.share

import com.lej.core.common.AT_SCHOOL
import com.lej.core.common.SEX_BOY
import com.lej.core.common.SEX_GIRL
import com.lej.core.common.UN_AT_SCHOOL

data class ShareCodeAnalyzeBean(
    val avatar: String,
    val college: String,
    var gender: Int,
    val graduate: Int,
    val nick: String,
    val sharer_nick: String,
    val sharer_uid: String,
    val uid: String
){
    fun graduateStr():String = when (graduate) {
        AT_SCHOOL -> "在校"
        UN_AT_SCHOOL -> "毕业"
        else -> "暂未认证"
    }

    fun genderStr():String = when (gender) {
        SEX_BOY -> "捧他"
        SEX_GIRL -> "捧她"
        else -> "捧TA"
    }
}